package com.zenithmind.task.pojo.query;

import com.zenithmind.common.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 任务评论查询条件
 *
 * @author ZenithMind Team
 * @since 2025-01-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "任务评论查询参数")
public class TaskCommentQuery extends BaseQuery {

    @Schema(description = "任务ID")
    private String taskId;

    @Schema(description = "评论内容关键词")
    private String content;

    @Schema(description = "评论者ID")
    private String commenterId;

    @Schema(description = "评论者名称")
    private String commenterName;

    @Schema(description = "父评论ID")
    private String parentId;

    @Schema(description = "评论类型：1-普通评论，2-系统评论，3-状态变更评论")
    private Integer commentType;

    @Schema(description = "评论状态：0-删除，1-正常")
    private Integer status;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "是否包含回复")
    private Boolean includeReplies;
}
